package com.company.base.common;

public class WeChatConstant {
	
	// 赵日天
//	public static final String appId = "wx3c3513a7a4d21137";
//	public static final	String appSecret = "705ea494b93126d7448e0766065b6de6";

//	//常熟市妇联
	public static final String appId = "wx08cc1c84d645af39";
	public static final	String appSecret = "879d8dd1ac91b00afeaa64128dbf6656";
	
	// 
	public final static String access_token_url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="+appId+"&secret="+appSecret;
	public final static String oauth_access_token_url="https://api.weixin.qq.com/sns/oauth2/access_token?appid="+appId+"&secret="+appSecret+"&code=#CODE#&grant_type=authorization_code";	
	// 
	public static String menu_create_url = "https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN";
	
	public static String menu_delete_url="https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=ACCESS_TOKEN";
	
	// 
	public static String QR_ticket_create_url = "https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=ACCESS_TOKEN";
	
	public static String QR_get_url="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=TICKET";
	
	public static String USER_INFO_URL="https://api.weixin.qq.com/cgi-bin/user/info?access_token=ACCESS_TOKEN&openid=OPENID&lang=zh_CN";
	
	public static String FANS_OPENID_URL="https://api.weixin.qq.com/cgi-bin/user/get?access_token=ACCESS_TOKEN&next_openid=";
	
	public static final String token="njkd";
	
	/**
	 * 事件类型：扫码推事件且弹出“消息接收中”提示框
	 */
	public static final String EVENT_TYPE_SCANCODE_WAITIMSG="scancode_waitmsg";
	
	public static final int PageSize=10;
	
	/**
	 * 返回消息类型：文�?
	 */
	public static final String RESP_MESSAGE_TYPE_TEXT = "text";

	/**
	 * 返回消息类型：音�?
	 */
	public static final String RESP_MESSAGE_TYPE_MUSIC = "music";

	/**
	 * 返回消息类型：图�?
	 */
	public static final String RESP_MESSAGE_TYPE_NEWS = "news";

	/**
	 * 请求消息类型：文�?
	 */
	public static final String REQ_MESSAGE_TYPE_TEXT = "text";

	/**
	 * 请求消息类型：图�?
	 */
	public static final String REQ_MESSAGE_TYPE_IMAGE = "image";

	/**
	 * 请求消息类型：链�?
	 */
	public static final String REQ_MESSAGE_TYPE_LINK = "link";

	/**
	 * 请求消息类型：地理位�?
	 */
	public static final String REQ_MESSAGE_TYPE_LOCATION = "location";

	/**
	 * 请求消息类型：音�?
	 */
	public static final String REQ_MESSAGE_TYPE_VOICE = "voice";

	/**
	 * 请求消息类型：
	 */
	public static final String REQ_MESSAGE_TYPE_VIDEO = "video";

	/**
	 * 请求消息类型：推�?
	 */
	public static final String REQ_MESSAGE_TYPE_EVENT = "event";

	/**
	 * 请求消息类型：扫�?
	 */
	public static final String REQ_MESSAGE_TYPE_SCAN = "scan";

	/**
	 * 事件类型：subscribe(订阅)
	 */
	public static final String EVENT_TYPE_SUBSCRIBE = "subscribe";

	/**
	 * 事件类型：unsubscribe(取消订阅)
	 */
	public static final String EVENT_TYPE_UNSUBSCRIBE = "unsubscribe";

	/**
	 * 事件类型：CLICK(自定义菜单点击事�?
	 */
	public static final String EVENT_TYPE_CLICK = "CLICK";
	
	
	public static final String EVENT_TYPE_LOCATION="LOCATION";
	
	/**
	 * 事件类型：VIEW(点击菜单跳转链接时的事件推送 )
	 */
	public static final String EVENT_TYPE_VIEW="VIEW";
	
	
	public static final String RETURN_MSG_SUBSCRIBE="欢迎您的关注";
	
	public static final String RETURN_MSG_UNSUBSCRIBE="感谢您的关注，常回来看看";
	
	public static final String SERVER_ADDRESS="";

	public static final String RETURN_ACTURL = "<a href='http://www.wbedc.com/wvote/vote.htm'>爱粮节粮进万家</a>";
	
	
}
